package com.sgzn.sgpay.service.tcp.impl;

import com.sgzn.sgpay.model.response.SgsResultResponse;
import com.sgzn.sgpay.service.tcp.api.TcpTerminalInitiativeBillIncrementExchangeService;
import com.sgzn.sgpay.service.tcp.model.terminal.request.TcpTerminalInitiativeBillIncrementExchangeRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 终端主动上传账目增量应答（兑币机） 服务接口实现类
 * @author huangsenguang
 * @version Id: TcpTerminalInitiativeBillIncrementExchangeServiceImpl.java, v 0.1 2018/8/1 21:04 huangsenguang Exp $$
 */
@Service
@Slf4j
public class TcpTerminalInitiativeBillIncrementExchangeServiceImpl extends TcpBaseTemplate implements TcpTerminalInitiativeBillIncrementExchangeService {
    @Override
    public SgsResultResponse<String> invoke(TcpTerminalInitiativeBillIncrementExchangeRequest request) {
        return super.execute(request.getDeviceId(), request.toString());
    }
}

